package cn.tk.service.mr.impl;

import cn.tk.model.entity.mr.GlobalReply;
import cn.tk.repository.mr.GlobalReplyDao;
import cn.tk.service.mr.GlobalReplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by denglw on 2021/8/13.<br/>
 * Desc: 全局回复 服务实现层
 */
@Service
public class GlobalReplyServiceImpl implements GlobalReplyService {

    @Autowired
    private GlobalReplyDao globalReplyDao;

    @Override
    public List<GlobalReply> globalReplies(Long botId) {
        return globalReplyDao.findByBotId(botId);
    }
}
